package com.cloud.drore.eboss.supplier.entity.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.cloud.drore.eboos.common.base.BaseEntity;
import com.cloud.drore.eboss.jackson.JacksonDateDeserializer;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 浙江卓锐科技股份有限公司 版权所有  Copyright 2018<br>
 *
 * @Description: <br>
 * @Project: eboos <br>
 * @CreateDate: Created in 2018/3/9 10:51 <br>
 * @Author: <a href="575842778@qq.com">郑永涛</a>
 */
@Data
public class ProductRejectInfoVo extends BaseEntity<Long> {

    /** 驳回用户id */
    @JsonProperty("reject_user_id")
    @JSONField(name = "reject_user_id")
    @ApiModelProperty(name = "reject_user_id", notes = "驳回用户id", example = "10")
    private Long rejectUserId;

    /** 驳回时间 */
    @JsonDeserialize(using = JacksonDateDeserializer.class)
    @JsonProperty("reject_time")
    @JSONField(name = "reject_time",format = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(name = "reject_time", notes = "有效期结束时间", example = "2018-02-16 11:20:05")
    private Date rejectTime;

    /** 驳回原因 */
    @JsonProperty("reject_reason")
    @JSONField(name = "reject_reason")
    @ApiModelProperty(name = "reject_reason", notes = "驳回原因", example = "驳回原因")
    private String rejectReason;

    /** 公共产品id */
    @JsonProperty("common_product_id")
    @JSONField(name = "common_product_id")
    @ApiModelProperty(name = "common_product_id", notes = "公共产品id", example = "10")
    private Long commonProductId;

    /** 姓名 */
    @JsonProperty("account_name")
    @JSONField(name = "account_name")
    @ApiModelProperty(name = "account_name", notes = "姓名", example = "joe")
    private String accountName;

    /** 联系电话 */
    @JsonProperty("account_tel")
    @JSONField(name = "account_tel")
    @ApiModelProperty(name = "account_tel", notes = "联系电话", example = "1399999999")
    private String accountTel;
}